package com.yanqu.road.logcollector.log;

import java.util.ArrayList;
import java.util.List;

public class LogTableEntity {
    private Class clazz;

    public LogTableEntity(Class clazz) {
        this.clazz = clazz;
    }

    private List<Object> logList = new ArrayList<>();

    private long lastSaveTime =System.currentTimeMillis();


    public void addLog(Object log) {
        logList.add(log);
    }

    private void  setLastSaveTime(long lastSaveTime) {
        this.lastSaveTime = lastSaveTime;
    }

    public long getLastSaveTime() {
        return lastSaveTime;
    }
}
